package com.wanhe.base.websocket;

import android.support.annotation.Keep;

import java.io.Serializable;

/**
 * Created by Administrator on 2016/11/28.
 */

@Keep
public class BaseSocketProtocol implements Serializable {

	public int totalLen = 0;
	public byte flag = 0;
	public byte version = 0;
	public short cmdType = 3;
	public short source = 266;
	public short target = 0;
	public int commonId = 4000;//业务编号
	public int digest = 0;
	public int channel = 0;
	public String bid = "00000000-0000-0000-0000-000000000000";


//	public static byte[] bid1 =new byte[16];
	public long timestamp = 0;
	//    public String body = "{\"opType\":0,\"json\":\"085649e2-5519-4947-120c-f2d4792f7e52\"}";
	public String body = "";

}
